package net;

public class Protocol {
	public static final byte TYPE_INT = 0;
	public static final byte TYPE_STRING = 1;
	public static final byte TYPE_OBJECT= 2;
	public static final byte TYPE_INT_ARRAY = 3;
	public static final byte TYPE_STRING_ARRAY = 4;
	public static final byte TYPE_OBJECT_ARRAY = 5;
	public static final byte TYPE_BYTE = 8;
	
	
	public static final int HEAD_LENGTH = 4;
	public static final int HEAD_BYTES_MAX = 65536;
	
	public static final byte COMMAND_RPC = 1;
	public static final byte COMMAND_QUERY_RESULT = 2;
	
	public static final byte BOOL_TRUE = 1;
	public static final byte BOOL_FALSE = 0;
}
